package com.suray.rgv.data;

import com.suray.basic.wcs.path.core.Node;
import com.suray.type.SonRgvTaskType;
import lombok.Data;

import java.util.List;

@Data
public class RgvSonTaskInfo {
    /**
     * 总任务id
     */
    private Object taskId;

    /**
     * 子车任务id
     */
    private int resTaskNo;

    /**
     * 地图
     */
    private List<Node> nodeList;

    /**
     * 任务步骤
     */
    private int[] pathIndexs;

    /**
     * 子车任务类型
     */
    private SonRgvTaskType taskType;

    public RgvSonTaskInfo(Object taskId, int resTaskNo, List<Node> nodeList, int[] pathIndexs,
                          SonRgvTaskType taskType) {
        this.taskId = taskId;
        this.resTaskNo = resTaskNo;
        this.nodeList = nodeList;
        this.pathIndexs = pathIndexs;
        this.taskType = taskType;
    }
}
